#define _CRT_SECURE_NO_WARNINGS
#include"Stack.h"

void test()
{
	Stack stack;
	StackInit(&stack);

	StackPush(&stack, 3);
	StackPush(&stack, 1);
	StackPush(&stack, 4);
	StackPush(&stack, 9);

	StackPop(&stack);
	StackPop(&stack);

	DataType n = StackTop(&stack);
	int len = StackSize(&stack);
	StackEmpty(&stack);
	StackDestory(&stack);
}
int main()
{
	test();
	return 0;
}